import styled from "styled-components";

export const Edituserwrap = styled.div`
  box-shadow: 0 20px 40px -15px rgb(0 0 0 / 5%);
  background-color: var(--essayback);
  width: 60%;
  margin: 70px auto;
  border-radius: 10px;
  position: relative;
  color: var(--fontsize);
  input {
    border: none;
    outline: none;
    color: black;
  }
  button {
    right: 30px;
    top: 20px;
    position: absolute;
    color: red;
    border: none;
    border-radius: 10px;
    padding: 5px 15px;
    cursor: pointer;
    &:hover {
      opacity: 0.7;
    }
  }
  & > div {
    padding: 10px 20px;
    position: relative;
    height: 60px;
    align-items: center;
    display: flex;
    & > span:first-child {
      display: block;
      width: 200px;
      text-align: center;
    }
    & > span:last-child {
      position: absolute;
      right: 20px;
    }
  }
  & > .title {
    font-size: 20px;
    font-weight: 600;
    padding-left: 100px;
  }
  & > .avatar {
    img {
      width: 48px;
      height: 48px;
      border-radius: 50%;
    }
    & > span:last-child {
      background-color: #1976d2;
      border-radius: 10px;
      padding: 5px 15px;
      cursor: pointer;
      &:hover {
        opacity: 0.7;
      }
    }
  }
`;
